package com.wzd.shoppingService.model.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

/**
 * 活动报名表
 *
 * @author WeiZiDong
 */
@Table(name = "`activitys_enroll`")
@Data
@ApiModel("活动报名表")
public class ActivitysEnroll implements Serializable {
    @Id
    @Column(name = "`id`")
    @ApiModelProperty(value = "记录id", example = "1")
    private Long id;
    @Column(name = "`create_by`")
    @ApiModelProperty(value = "创建人", example = "String")
    private String createBy;
    @Column(name = "`create_time`")
    @ApiModelProperty(value = "创建时间", example = "2019-05-05 17:55:31")
    private Date createTime;
    @Column(name = "`update_by`")
    @ApiModelProperty(value = "更新人", example = "String")
    private String updateBy;
    @Column(name = "`update_time`")
    @ApiModelProperty(value = "更新时间", example = "1556946359031")
    private Date updateTime;
    @Column(name = "`delete_flag`")
    @ApiModelProperty(value = "1:删除，0：未删除", example = "1")
    private Integer deleteFlag;
    @Column(name = "`status_flag`")
    @ApiModelProperty(value = "1:启用，0：禁用", example = "1")
    private Integer statusFlag;
    @Column(name = "`activitys_id`")
    @ApiModelProperty(value = "活动ID", example = "1")
    private Long activitysId;
    @Column(name = "`user_id`")
    @ApiModelProperty(value = "用户ID", example = "1")
    private Long userId;
    @Column(name = "`remark`")
    @ApiModelProperty(value = "备注", example = "String")
    private String remark;
    @Column(name = "`merchant_no`")
    @ApiModelProperty(value = "商户流水号", example = "String")
    private String merchantNo;
    @Column(name = "`transaction_no`")
    @ApiModelProperty(value = "交易流水号", example = "String")
    private String transactionNo;
    @Column(name = "`pay_type`")
    @ApiModelProperty(value = "支付方式:1,微信支付，2余额支付，3支付宝支付", example = "1")
    private Integer payType;
    @Column(name = "`pay_status`")
    @ApiModelProperty(value = "支付状态:0未支付，1已支付", example = "1")
    private Integer payStatus;
    @Column(name = "`entry_no`")
    @ApiModelProperty(value = "参数编号", example = "String")
    private String entryNo;

    private static final long serialVersionUID = 1L;
}
